package com.jl.service.impl;

import com.jl.mapper.SysCallLogMapper;
import com.jl.pojo.SysCallLog;
import com.jl.service.SysCallLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : ljl
 * @date : 16:56 2020/12/30
 */
@Service
public class SysCallLogServiceImpl implements SysCallLogService {

    @Autowired
    private SysCallLogMapper sysCallLogMapper;
    /**
     * 查询所有通话记录
     * @return
     */
    @Override
    public List<SysCallLog> list() {
        return sysCallLogMapper.selectAll();
    }
}
